#!/bin/sh

rm -rf .next
rm dist.zip
npm run build:test
zip -r dist.zip .next
scp -v ./dist.zip root@8.135.241.174:/web/app/twhole-agent-super/web/dist.zip
ssh root@8.135.241.174 'cd /web/app; sh ./twhole-agent-super-ui.sh'
